﻿using XAMLStylePad.Views;
using System.Windows;

namespace XAMLStylePad
{
    /// <summary>
    /// Provide access to the main elements of application, that can be used in commands
    /// </summary>
    public interface IUIContext
    {
        StylePadTree Tree
        {
            get;
        }

        PreviewPanel PreviewPanel
        {
            get;
        }

        XAMLEditor Editor
        {
            get;
        }

        void SetObject(object obj);

        MessageBoxResult ShowMessageBox(string message, string title, MessageBoxButton messageBoxButton, MessageBoxImage messageBoxImage);

        void ShowMessageBox(string message);
    }
}